﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true" CodeBehind="NewsList.aspx.cs" Inherits="CRM.Web.Admin.NewsList" %>
<%@ Register Src="~/Controls/Pager.ascx" TagPrefix="My" TagName="Pager" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<title>新闻列表</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<div class="NewsList">
    <asp:Repeater ID="rpNewsList" runat="server">
            <HeaderTemplate>
                <table id="tbNews" width="794px;">
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td style="width: 140px;">
                        <img src='<%# Eval("Image")%>' alt="新闻图片 " />
                    </td>
                    <td>
                        <table cellpadding="0" cellspacing="0">
                            <tr>
                                <td class="title_news">
                                    <%# Eval("Title")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <%# Eval("ArticleContent")%>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <a id="A1" href='NewsDetails.aspx?newsId=<%# Eval("ArticleId") %>'>查看全文>>></a>
                                </td>
                            </tr>                            
                        </table>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
    
    <My:Pager id="pagerBlock" runat="server"></My:Pager>
</div>

</asp:Content>
